Defining a Content Model

In the previous chapter, you learned how to create document type definitions (DTD’s) that contain internal entities.  The syntax for DTD’s is:

<!DOCTYPE name external.DTD [ internal.declarations ]>

In this chapter we are going to take DTD’s a lot farther and create content models.  Content models allow us to control the contents of an XML document so that we can create well-formed and valid XML documents.